Optimal. Leaf size=47 \[ \frac{a x \sqrt{c+\frac{d}{x^2}}}{c}-\frac{b \tanh ^{-1}\left (\frac{\sqrt{d}}{x \sqrt{c+\frac{d}{x^2}}}\right )}{\sqrt{d}} \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 0.0975331, antiderivative size = 47, normalized size of antiderivative = 1., number of steps used = 4, number of rules used = 4, integrand size = 19, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.21 \[ \frac{a x \sqrt{c+\frac{d}{x^2}}}{c}-\frac{b \tanh ^{-1}\left (\frac{\sqrt{d}}{x \sqrt{c+\frac{d}{x^2}}}\right )}{\sqrt{d}} \]
Antiderivative was successfully verified.
[In] Int[(a + b/x^2)/Sqrt[c + d/x^2],x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [A] time = 11.3511, size = 39, normalized size = 0.83 \[ \frac{a x \sqrt{c + \frac{d}{x^{2}}}}{c} - \frac{b \operatorname{atanh}{\left (\frac{\sqrt{d}}{x \sqrt{c + \frac{d}{x^{2}}}} \right )}}{\sqrt{d}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate((a+b/x**2)/(c+d/x**2)**(1/2),x)
[Out]
_______________________________________________________________________________________
Mathematica [A] time = 0.0920009, size = 89, normalized size = 1.89 \[ \frac{a \sqrt{d} \left (c x^2+d\right )+b c \log (x) \sqrt{c x^2+d}-b c \sqrt{c x^2+d} \log \left (\sqrt{d} \sqrt{c x^2+d}+d\right )}{c \sqrt{d} x \sqrt{c+\frac{d}{x^2}}} \]
Antiderivative was successfully verified.
[In] Integrate[(a + b/x^2)/Sqrt[c + d/x^2],x]
[Out]
_______________________________________________________________________________________
Maple [A] time = 0.014, size = 73, normalized size = 1.6 \[{\frac{1}{cx}\sqrt{c{x}^{2}+d} \left ( a\sqrt{c{x}^{2}+d}\sqrt{d}-b\ln \left ( 2\,{\frac{\sqrt{d}\sqrt{c{x}^{2}+d}+d}{x}} \right ) c \right ){\frac{1}{\sqrt{{\frac{c{x}^{2}+d}{{x}^{2}}}}}}{\frac{1}{\sqrt{d}}}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int((a+b/x^2)/(c+d/x^2)^(1/2),x)
[Out]
_______________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \[ \text{Exception raised: ValueError} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((a + b/x^2)/sqrt(c + d/x^2),x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [A] time = 0.229864, size = 1, normalized size = 0.02 \[ \left [\frac{2 \, a d x \sqrt{\frac{c x^{2} + d}{x^{2}}} + b c \sqrt{d} \log \left (\frac{2 \, d x \sqrt{\frac{c x^{2} + d}{x^{2}}} -{\left (c x^{2} + 2 \, d\right )} \sqrt{d}}{x^{2}}\right )}{2 \, c d}, \frac{a d x \sqrt{\frac{c x^{2} + d}{x^{2}}} + b c \sqrt{-d} \arctan \left (\frac{\sqrt{-d}}{x \sqrt{\frac{c x^{2} + d}{x^{2}}}}\right )}{c d}\right ] \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((a + b/x^2)/sqrt(c + d/x^2),x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [A] time = 3.51324, size = 39, normalized size = 0.83 \[ \frac{a \sqrt{d} \sqrt{\frac{c x^{2}}{d} + 1}}{c} - \frac{b \operatorname{asinh}{\left (\frac{\sqrt{d}}{\sqrt{c} x} \right )}}{\sqrt{d}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((a+b/x**2)/(c+d/x**2)**(1/2),x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [F] time = 0., size = 0, normalized size = 0. \[ \int \frac{a + \frac{b}{x^{2}}}{\sqrt{c + \frac{d}{x^{2}}}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((a + b/x^2)/sqrt(c + d/x^2),x, algorithm="giac")
[Out]